/*
** malloc.h for malloc in /home/peelou/SVN/Malloc/poney
** 
** Made by gery baudry
** Login   <baudry_g@epitech.net>
** 
** Started on  Wed Feb  6 10:49:36 2013 gery baudry
** Last update Thu Feb  7 13:46:41 2013 gery baudry
*/

#ifndef		_MALLOC_H__
#define		_MALLOC_H__

#include	<unistd.h>

#define		SIZE_STRUCT sizeof(t_malloc)

typedef struct		s_malloc
{
  int				etat;
  struct s_malloc		*prev;
  struct s_malloc		*next;
  unsigned int			size;
} t_malloc;

void		*realloc(void *ptr, size_t siez);
void		*malloc(size_t size);
void		free(void *ptr);
#endif
